package com.wfs.object;

class Student {
    String name;
    int age;
    double math;
    double chinese;
    double english;
    public double getAverage() {
        return (math + chinese + english) / 3;
    }
    public double getSum() {
        return math + chinese + english;
    }
}
